<?php

?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>筛选页</title>
<link rel="stylesheet" type="text/css" href="/knowMap/frontend/web/statics/css/res-main.css">
<link rel="stylesheet" type="text/css" href="/knowMap/frontend/web/statics/css/normal.css">
<style type="text/css">
#banner_bar{
	margin-left:324px;
	width:976px;
	height:335px;	
	background-color:#C33;
	position:relative;
	overflow:hidden;
}
.outwrap-recomend {
	margin-left:100px;
	margin-top:50px;
	width:1200px;
    height: 216px;
}

</style>
</head>

<body>

<div class="header">
	<div class="page-container" id="nav">
    	<!-- logo-->
		<div id="logo" class="logo">
    	<a href="#" target="" class="hide-text">资源融合系统</a>
    	</div>
        <!--导航 -->
    	<div class="g-menu-mini l">
            <a href="javascript:;" class="menu-ctrl">
                <i class="sz-list"></i>
            </a>
            <ul class="nav-item l">                        
            <?php
            $mycontroller=Yii::$app->controller->id;
            if($mycontroller=="site")//获取控制器的名称
            {
            echo '<li><a href="./index.php?r=site/index" class="active" target="">首页</a></li>';
            }else {
             echo '<li><a href="./index.php?r=site/index" target="_self">首页</a></li>';
            }
            if($mycontroller=="normal")//获取控制器的名称
            {
            echo '<li><a href="./index.php?r=normal/index" class="active" target="_self">标准图谱</a></li>';
            }else {
             echo '<li><a href="./index.php?r=normal/index" target="_self">标准图谱</a></li>';
            }
            
            echo '<li><a href="#" target="_self">公开图谱</a></li>';
            if($mycontroller=="user")//获取控制器的名称
            {
            echo '<li><a href="./index.php?r=user/index" class="active" target="_self">个人中心</a></li>';
            }else {
             echo '<li><a href="./index.php?r=user/index" target="_self">个人中心</a></li>';
            }
            ?>
            </ul>
           <!--<li><a href="http://www.imooc.com/wenda" target="_self">猿问</a></li>-->
        </div>
        
        <!-- 搜索开始 -->
        <form class="navbar-form" action="/search" method="get">
        <div class="subject myleft">
        <select name="fangyuanEntity.fyDhCode" id="fyDh" class="ui_select01">
	                <option value="">选择学科</option>
	                <option value="12">数学</option>
	                <option value="13">物理</option>
	                <option value="15">化学</option>
	                <option value="18">生物</option>
                  </select>
        </div>
        <div class="grade myleft">
        <select name="fangyuanEntity.fyDhCode" id="fyDh" class="ui_select02">
	                <option value="">选择年级</option>
	                <option value="12">一年级</option>
	                <option value="13">二年级</option>
	                <option value="15">三年级</option>
	                <option value="18">四年级</option>
                  </select>
        </div>
        
        <div class="input-group myleft">
        <input type="text" class="form-control" name="q" placeholder="全站搜索">
        </div>
        <div class="submintBtn myleft">
        <button type="submit"><img src="/knowMap/frontend/web/statics/images/search.png" alt="搜索" /></button>
        </div>
        </form>
        
	</div>
</div>
<?php echo $content;?>
    
</body>
</html>
